#include"ProcessBar.h"

double bandwidth = 1024*1024*1.0;


void download()
{
  double filesize=1024*1024*50.0;
  double current=0.0;
  while(current<=filesize)
  {
    ProcBar2(current,filesize);
    current+=bandwidth;
    usleep(100000);
  }
  printf("\n");
}

int main()
{
  //ProcBar();
  download();

  return 0;
}
